<template>

        <div>
               <div>
                  <Reply :data="data" />
               </div>
    
        </div>
</template>
       
<script>
    

import Reply from './Reply.vue';

import md5 from 'js-md5';
    
export default {
    data () {
        return {
            data:{},
            online: 0,
        }
    },
    components: {
        //'mh_test':mh_test
        Reply
    },

    //钩子方法
    mounted:function(){
            this.get_token();
    },
    //绑定事件
    methods:{

        get_token(){

            this.$axios.get('gongdan/').then((result) =>{
                console.log(result);
                this.gd_list = result.data.next
                this.all = result.data.all
                var mytree = {'id':0,name:''};
                mytree['x'] = result.data.next;
                this.data = mytree;
                console.log(this.data);

        });
        },
       
}
    }
</script>

<style>

    .on {
            background: #cdcbff;
        }
    .off {
    background: #fefdff;

    }

</style>